package com.css.project.oa.travel.service;

import com.css.project.oa.cash.domain.ProCash;
import com.css.project.oa.cash.domain.ProCashItem;
import com.css.project.oa.fileInfo.domain.SysFileInfo;
import com.css.project.oa.travel.domain.Travel;
import com.css.project.oa.travel.domain.TravelPrint;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface ITravelService {

    List<Travel> getTravelList(Travel travel);

    Long add(Travel travel, String itemsJson, String items1Json) ;

    Long update(Travel travel, String itemsJson, String items1Json) ;

    public int deleteTravel(Long[] travelIds);

    Map<String, Object> getTravelById(Long travelId) ;
    
    TravelPrint getMainTravelPrint(Long travelId);
    List<TravelPrint> getTravelPrintList(Long travelId);
    List<TravelPrint> getTravelPrintMxList(Long travelId);
}
